/*
 * Copyright (c) 2005, 2014 vacoor
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 */
package org.vacoor.nothing.misc.dts.domain;

/**
 * 用户上传的文档
 *
 * @author vacoor
 */
public class Document extends Resource {
    public enum Status {
        WAIT, RUNNING, SUCCESS, FAILED
    }

    private Integer totalPages;
    private Status status;
    private String pdfHash;

    public Integer getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(Integer totalPages) {
        this.totalPages = totalPages;
    }

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }

    public String getPdfHash() {
        return pdfHash;
    }

    public void setPdfHash(String pdfHash) {
        this.pdfHash = pdfHash;
    }
}
